package net.lwf.hibernate.entity.worksheet;

import java.util.Date;

public class UserWsAccess {
	
	private long id;
	private long userKey;
	private long workSheetKey;
	private String wsAccessKey; //Combination of grade/subject/topic/type
	private Date dateAccessed;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserKey() {
		return userKey;
	}
	public void setUserKey(long userKey) {
		this.userKey = userKey;
	}
	public long getWorkSheetKey() {
		return workSheetKey;
	}
	public void setWorkSheetKey(long worksheetKey) {
		this.workSheetKey = worksheetKey;
	}
	public String getWsAccessKey() {
		return wsAccessKey;
	}
	public void setWsAccessKey(String wsAccessKey) {
		this.wsAccessKey = wsAccessKey;
	}
	public Date getDateAccessed() {
		return dateAccessed;
	}
	public void setDateAccessed(Date dateAccessed) {
		this.dateAccessed = dateAccessed;
	}
	
	public void print() {
		System.out.println("==> ID: " + this.id + ", User Id: " + this.userKey + ", Worksheet Key: " + this.workSheetKey + ", Worksheet Access Key: " +  this.wsAccessKey + ", Date Accessed: " + this.dateAccessed);
	}

}
